<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="bootstrap-3.4.1/css/bootstrap.css">

    <style>
        .navbar{
            background-color: #335171;
        }

        .dropdown{
            width: 120px;
        }
    </style>
</head>
<body>

<nav class="navbar navbar-default" style="border-radius: 0;">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">振动传感器</a>
        </div>

        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">

                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false">记录<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="#">记录数据</a></li>
                        <li><a href="#">查看文件</a></li>
                        <li><a href="#">记录设置</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="#">数据回放</a></li>
                    </ul>
                </li>

                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false">工具<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="#">计算器</a></li>
                        <li><a href="#">查看文件</a></li>
                        <li><a href="#">记录设置</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="#">数据回放</a></li>
                    </ul>
                </li>

                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false">视图<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="#">计算器</a></li>
                        <li><a href="#">查看文件</a></li>
                        <li><a href="#">记录设置</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="#">数据回放</a></li>
                    </ul>
                </li>
            </ul>

            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false">小熊 <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="#">个人中心</a></li>
                        <li><a href="#">我的资料</a></li>
                        <li><a href="#">重置密码</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="#">退出登录</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</nav>

<div class="container">

    <div style="margin:10px 0;">
        <a class="btn btn-success">新建</a>
        <a class="btn btn-info">批量导入</a>
        <a class="btn btn-warning">导出</a>

        <div class="btn-group" role="group">
            <button type="button" class="btn btn-success">新建</button>
            <button type="button" class="btn btn-info">批量导入</button>
            <button type="button" class="btn btn-warning">导出</button>
        </div>

        <div style="float:right">
            <form class="form-inline">
            <div class="form-group">
                <input type="text" class="form-control" placeholder="请输入关键字">
            </div>

            <button type="submit" class="btn btn-default">搜索</button>
        </form>
        </div>

    </div>

    <table class="table table-bordered">
        <thead>
        <tr>
            <th>#</th>
            <th>First Name</th>
            <th>Last Name</th>
            <th>Username</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <th scope="row">1</th>
            <td><a href="https://www.baidu.com">Mark</a></td>
            <td>Otto</td>
            <td>@mdo</td>
            <td>
                <a class="btn btn-primary btn-xs" href="https://www.baidu.com">编辑</a>
                <a class="btn btn-danger btn-xs" href="https://www.baidu.com">删除</a>
            </td>
        </tr>
        <tr>
            <th scope="row">2</th>
            <td><a href="https://www.baidu.com">Mark</a></td>
            <td>Thornton</td>
            <td>@fat</td>
            <td>
                <a class="btn btn-primary btn-xs" href="https://www.baidu.com">编辑</a>
                <a class="btn btn-danger btn-xs" href="https://www.baidu.com">删除</a>
            </td>
        </tr>
        <tr>
            <th scope="row">3</th>
            <td><a href="https://www.baidu.com">Mark</a></td>
            <td>the Bird</td>
            <td>@twitter</td>
            <td>
                <a class="btn btn-primary btn-xs" href="https://www.baidu.com">
                    <span class="glyphicon glyphicon-edit" aria-hidden="true"></span>
                </a>
                <a class="btn btn-danger btn-xs" href="https://www.baidu.com">
                    <span class="glyphicon glyphicon-trash" aria-hidden="true"></span>
                </a>
            </td>
        </tr>
        </tbody>
    </table>

</div>

<script src="js/jquery-3.7.1.min.js"></script>
<script src="bootstrap-3.4.1/js/bootstrap.js"></script>
</body>
</html>